import React, {} from 'react';
import {Button} from "antd";
import {useNavigate} from "react-router-dom";

const Index = () => {
    const navigate = useNavigate()
    return (
        <>
            <Button onClick={() => {
                navigate('/testMange/test2/test2-1')
            }}>text2</Button>
        </>
    );
};

export default Index;
